#!/bin/bash
systemctl stop containerd
systemctl disable containerd
systemctl daemon-reload

rm -f /etc/systemd/system/containerd.service

rm -f /usr/local/bin/runc
rm -f /usr/local/bin/crictl
rm -f /usr/local/bin/containerd
rm -f /usr/local/bin/containerd-shim
rm -f /usr/local/bin/containerd-shim-runc-*
rm -f /usr/local/bin/ctr

echo "uninstall complete..."